package com.witmore.neutron.ai.cognitive.service;

import org.springframework.ai.chat.messages.AssistantMessage;

import java.util.Collections;
import java.util.Map;

/**
 * Description: MetadataRichAssistantMessage
 * Author: 豆子高
 * Date: 2025/6/10 10:46
 */
public class MetadataRichAssistantMessage extends AssistantMessage {

    private final Map<String, Object> metadata;

    public MetadataRichAssistantMessage(String content, Map<String, Object> metadata) {
        super(content, metadata);
        this.metadata = metadata;
    }

    public Map<String, Object> getMetadata() {
        return Collections.unmodifiableMap(metadata);
    }
}
